package com.fyh.entity.common;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Data
public class ReceiveMessage {
    private String type;
    private Long aimId;
    private String message;
    private List<String> filePathList;

    public ReceiveMessage(String type, Long aimId, String message, List<String> filePathList) {
        this.type = type;
        this.aimId = aimId;
        this.message = message;
        this.filePathList = filePathList;
    }

    public ReceiveMessage() {
    }

    public static ReceiveMessage of(String type, Long aimId, String message, List<String> filePathList) {
        return new ReceiveMessage(type, aimId, message, filePathList);
    }
}
